package cn.e4j.modular.crm.entity;

import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author miaoyl
 * @since 2019-08-08
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWEQ_T")
public class GweqT extends PO<GweqT> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "GWEQENT", type = IdType.INPUT)
    private String GWEQENT;

    private String GWEQDOCNO;

    private BigDecimal GWEQSEQ;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWEQDOCDATE;

    private String GWEQ001;

    private String GWEQ002;

    private BigDecimal GWEQ003;

    private String GWEQ004;

    private BigDecimal GWEQ005;

    private String GWEQ006;

    private BigDecimal GWEQ007;

    private String GWEQ008;

    private String GWEQ009;

    private String GWEQ010;

    private String GWEQ011;

    private BigDecimal GWEQ012;

    private BigDecimal GWEQ013;

    private BigDecimal GWEQ014;

    private BigDecimal GWEQ015;

    private String GWEQ016;

    private String GWEQ101;

    private String GWEQ102;

    private String GWEQ103;

    private String GWEQ104;

    private String GWEQ105;

    private String GWEQ106;

    private String GWEQ107;

    private String GWEQPLANT;

    private String GWEQLEGAL;

    private String GWEQACTI;
    @TableField(fill = FieldFill.INSERT)
    private String GWEQUSER;
    @TableField(fill = FieldFill.INSERT)
    private String GWEQGRUP;
    @TableField(fill = FieldFill.UPDATE)
    private String GWEQMODU;
    @TableField(fill = FieldFill.INSERT)
    private String GWEQTIME;
    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWEQDATE;
    @TableField(fill = FieldFill.INSERT)
    private String GWEQORIG;
    @TableField(fill = FieldFill.INSERT)
    private String GWEQORIU;

    private String GWEQMLEGAL;



    @Override
    protected Serializable pkVal() {
        return this.GWEQENT;
    }

}
